import request from '@/utils/request'
// 数据
export function getRoleListAPI(params) {
  return request({
    url: '/park/propertyfee',
    params
  })
}

export function getenterprisetAPI() {
  return request({
    url: '/park/all/enterprise'
  })
}

export function getbuildingAPI() {
  return request({
    url: '/park/all/building'
  })
}

// 预算金额
export function getyusuanAPI(data) {
  return request({
    url: '/park/propertyfee/pre/payment',
    method: 'POST',
    data
  })
}
// 添加
export function gettianjaiAPI(data) {
  return request({
    url: '/park/propertyfee',
    method: 'POST',
    data
  })
}
// 删除
export function getdelshuAPI(id) {
  return request({
    url: `/park/propertyfee/${id}`,
    method: 'DELETE'
  })
}
// 查看
export function getchaxunAPI(id) {
  return request({
    url: `/park/propertyfee/${id}`
  })
}
